import instance from "@/http";
// 获取部门列表
export  const  deptList = ()=> instance.get('/dept/list')

// 部门数据分页
export const deptPage =(searchForm)=>instance.post('/dept/page',searchForm)

// 添加或修改部门信息
export const addOrUpdate =(dept)=>instance.post('/dept/addOrUpdate',dept)

// 删除部门信息
export const  removeDept=(id)=>instance.delete('/dept/delete/'+id)